#include "StdAfx.h"
#include "DxBoardDisplay.h"



namespace catan
{
	void DxBoardDisplay::DrawLine()
	{
		irr::video::IVideoDriver* video = mHelper->GetDevice()->getVideoDriver();
		video::SMaterial mt;
		mt.Lighting=false;
		video->setMaterial(mt);
	
	
		video->setTransform(video::ETS_WORLD, mHelper->GetDevice()->getSceneManager()->getRootSceneNode()->getAbsoluteTransformation());
		video::SColor color = video::SColor(255, 255,0,0);
		video->draw3DLine(mLine.start, mLine.end, color);
	}
}